package com.jfinal.demo.plugins;

import org.quartz.Job;
import org.quartz.JobExecutionContext;
import org.quartz.JobExecutionException;

/**
 * Title:
 * Description:
 *
 * @version 2.0
 * @author: Yung Fu(FUYUNGCN AT GMAIL DOT com)
 * @since: 14-10-31 下午1:46
 */
public class TestJob2 implements Job {

    @Override
    public void execute(JobExecutionContext context) throws JobExecutionException {
        try {
            System.out.println("定时循环调用！Name: " + context.getJobDetail().getKey().getName() + " group:" + context.getJobDetail().getKey().getGroup());
        } catch (Exception e) {
            e.printStackTrace();
        }
    }
}
